# coding = utf-8

with open("log1.txt", "r", encoding="utf-8") as file1,\
        open("log2.txt", "r", encoding="utf-8") as file2:
    for line1 in file1:
        print(line1)
    for line2 in file2:
        print(line2)

